<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>手机WAP版二手房房屋租赁网站模板下载_网站模板_js代码</title>
		<meta name="keywords" content="手机,WAP版,二手房,房屋租赁,网站模板" />
		<meta name="description" content="手机WAP版二手房房屋租赁网站模板下载。" />
		<meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
		<link href="/index/css/style.css" rel="stylesheet" type="text/css" />
		<script src="/index/js/jquery-1.8.2.min.js"></script>
		<script src="/index/js/comment.js"></script>
		<script type='text/javascript' src='http://api.map.baidu.com/api?v=1.3'></script>
<script type='text/javascript'>

function getLocation()
{
if(navigator.geolocation){
navigator.geolocation.getCurrentPosition(showMap, handleError, {enableHighAccuracy:true, maximumAge:1000});
}else{
alert("您的浏览器不支持使用HTML 5来获取地理位置服务");
}
}

function showMap(value)
{
var longitude = value.coords.longitude;
var latitude = value.coords.latitude;
var map = new BMap.Map('map');
var point = new BMap.Point(115.864528, 28.687675);    // 创建点坐标
map.centerAndZoom(point, 15);
var marker = new BMap.Marker(new BMap.Point(115.864528,28.687675));  // 创建标注
map.addOverlay(marker);              // 将标注添加到地图中
}

function handleError(value)
{
switch(value.code){
case 1:
alert('位置服务被拒绝');
break;
case 2:
alert('暂时获取不到位置信息');
break;
case 3:
alert('获取信息超时');
break;
case 4:
alert('未知错误');
break;
}
}

function init()
{
getLocation();
}

window.onload = init;
</script>
	</head>
	<body>
		<header id="header">
			<div class="top">
				<div class="city">
					<span>南昌
					<i><img src="/index/img/xiala.png"/></i></span>
				</div>
				<div class="select_city" style="display: none;">
					<!--<span class="ui-dropmenu-arrow" style="left: 25%; right: auto;"></span>-->
					<div class="select-return">
						<a href="javascript:;" class="return-btn">返回</a>选择城市
					</div>
					<h6>当前定位的城市</h6>
					<span class="fail">定位为：其他市,中环暂不支持~</span>
					<h6>所有城市</h6>
					<ul class="city-list">
					<li><a href="">长沙</a></li>
					<li><a href="">九江</a></li>
					<li><a href="">宜春</a></li>
					<li><a href="">乌鲁木齐</a></li>
					<li><a href="">太原</a></li>
					<li><a href="">保定</a></li>
					</ul>
				</div>
			</div>
			<div class="text"></div>
			<div class="search">
				<input class="search-input" type="text" placeholder="输入小区或商圈名开始找房" />
				<a href="" class="search-icon"><img src="/index/img/search.png"/></a>
			</div>
		</header>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="nav">
  <tr>
    <td><a href="houselist.html"><i><img src="/index/img/house.png"></i><span>二手房<br/>海量房源任你挑</span></a></td>
    <td><a href="rentlist.html"><i><img src="/index/img/rent.png"></i><span>租房<br/>租房生活新理念</span></a></td>
  </tr>
  <tr>
    <td style="border-bottom: 0;"><a href="agent.html"><i><img src="/index/img/agent.png"></i><span>经纪人<br/>找房路上好帮手</span></a></td>
    <td style="border-bottom: 0;"><a href="enter.html" style="margin-left: -0.875rem;"><i><img src="/index/img/new.png"></i><span>走进中环<br/>详细了解中环</span></a></td>
  </tr>
</table>
<div class="main">
	<ul class="list">
		<li class="jsq"><a href="">税费计算器</a></li>
		<li class="fjsq"><a href="">房贷计算器</a></li>
	</ul>
</div>
        <div class="hot-house">热门房源</div>
        <ul class="house-list">
        	<?php foreach($row as $v){?>
            <li>
                <a href="housedetail.html">
                <img class="house-pic" src="<?php echo $v->zh_picture?>" />
                <p class="house-title"><?php echo $v->zh_name?></p>
                <p class="house-type"><?php echo $v->zh_square?></p>
                <p class="house-address"><?php echo $v->zh_place?></p>
                <p class="house-tag">
                    <span class="yaoshi">有钥匙</span>
                    <span class="xuequ">学区房</span>
                    <!--<span class="new">地铁房</span>-->
                    <span class="dujia">独家</span>
                </p>
                <span class="h-price" title="93"><?php echo $v->zh_price?></span>
                </a>
            </li>
        <?php }?>
        	
        </ul>
    <div style="height:50px; width:100%;"></div>
    <ul class="foot">
    	<li><a href="/index"><img src="/index/img/home.png" /><p>首页</p></a></li>
    	<li><a href="/secondhouse"><img src="/index/img/ershoufang.png" /><p>二手房</p></a></li>
    	<li><a href="/renting"><img src="/index/img/renting.png" /><p>租房</p></a></li>
    	<li><a href="/mine"><img src="/index/img/menber.png" /><p>我</p></a></li>
    </ul>
	</body>
</html>
<?php /**PATH D:\phpstudy_pro\WWW\xm\zu5_1809\resources\views/index/index.blade.php ENDPATH**/ ?>